projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7469ef5
)
* xfont.c: conform to C89 pointer rules
author
Paul Eggert
<eggert@cs.ucla.edu>
Mon, 7 Feb 2011 05:44:50 +0000
(21:44 -0800)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Mon, 7 Feb 2011 05:44:50 +0000
(21:44 -0800)
src/ChangeLog
patch
|
blob
|
history
src/xfont.c
patch
|
blob
|
history
diff --git
a/src/ChangeLog
b/src/ChangeLog
index f646bd66981a9ce6bd1a7227ed13e72575401cbb..386a9b3a0e55c76d0b1494eb0163f9e7d8edff44 100644
(file)
--- a/
src/ChangeLog
+++ b/
src/ChangeLog
@@
-26,6
+26,7
@@
* callproc.c (Fcall_process): Likewise.
* doprnt.c (doprnt): Likewise.
* indent.c (compute_motion): Likewise.
+ * xfont.c (xfont_decode_coding_xlfd): Likewise.
* character.c (strwidth): Make its argument const char *, not const
unsigned char *, since more callers prefer it that way. All callers
changed.
diff --git
a/src/xfont.c
b/src/xfont.c
index 222b4d9edf9c38b70d8339516f33fb9fa2c53dfb..f8aace3663c7eaee906d23c69d9a6b5b6e186b06 100644
(file)
--- a/
src/xfont.c
+++ b/
src/xfont.c
@@
-182,7
+182,7
@@
xfont_decode_coding_xlfd (char *xlfd, int len, char *output)
while (*p0)
{
c = *(unsigned char *) p0++;
- p1 += CHAR_STRING (c, p1);
+ p1 += CHAR_STRING (c,
(unsigned char *)
p1);
if (--len == 0)
break;
}